import Mock from 'mockjs'
import VipTable from './Vip/Tables'
<<<<<<< HEAD
import { registered, loginApi } from "./Zhuce/index" 

=======
import { registered, loginApi, getUserRole, saijieApi } from "./Zhuce/index"
import { test } from "./Drug/index"
<<<<<<< HEAD
import XinKai from './XinKai/index'
=======
>>>>>>> b109a3ea07c23825799bc8bb8e9e1cadfcecfeff
>>>>>>> beb584824be5c8f33b1ca3570e5e5af46136ffeb
// 测试
import TEST from "./TEST/index"
 
Mock.mock(/\/MockList/, 'get', VipTable.MockList) //获取伪后台数据
Mock.mock(/\/del/, 'post', VipTable.MockListDel) //删除伪后台数据
Mock.mock(/\/add/, 'post', VipTable.MockListAdd) //删除伪后台数据
Mock.mock(/\/ddelAll/, 'post', VipTable.MockListDelAll) //全部删除伪后台数据


Mock.mock(/\/registered/, 'post', registered) //注册
Mock.mock(/\/loginApi/, 'post', loginApi) //登录

Mock.mock(/\/ChengSaiJie/, 'get', TEST.MockList) 

Mock.mock(/\/saijie/, 'post', saijieApi) //测试

Mock.mock(/\/ChengSaiJie/, 'get', TEST.MockList)

Mock.mock(/\/getUserRole/, 'post', getUserRole)

//添加药品
Mock.mock(/\/addDrugs/, 'post', test) 
//HOME
Mock.mock(/\/HomeList/, 'get', XinKai.HomeList) 

